package cn.psvmc.cxzapi.model.system;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色权限表
 * @Author auto
 * @Date 2024-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_role_menu")
public class TRoleMenu implements Serializable {

    //角色权限id
    @TableId(value = "rmid", type = IdType.AUTO)
    private Integer rmid;

    //角色id
    @TableField("roleid")
    private Integer roleid;

    //菜单id
    @TableField("menuid")
    private Integer menuid;

    //模块操作
    @TableField("operates")
    private String operates;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
